package com.tgy.crud.mapper;

import com.tgy.crud.domain.Person;
import org.apache.ibatis.annotations.Mapper;
import org.omg.PortableInterceptor.INACTIVE;

@Mapper
public interface PersonMapper {

    int insertPerson(Person person);

    Person findPersonById(Integer id);

    int updatePerson(Person person);

    int deletePersonById(Integer id);
}
